services.borgbackup.jobs.<name>.environment
Environment variables passed to the backup script. You can for example specify which SSH key to use.
- Type
attribute set of string- Default
{ }- Example
{ BORG_RSH = "ssh -i /path/to/key"; }- Declared
- <nixpkgs/nixos/modules/services/backup/borgbackup.nix>